/**
 * 
 */
package com.duck.model;

import com.duck.base.Duck;
import com.duck.behavior.FlyWithWigns;
import com.duck.behavior.QuackQuack;

/**
 * @author Richard Rodriguez
 * 18/9/2014
 */
public class MallarDuck extends Duck {

    /**
     * 
     */
    public MallarDuck() {
	super();
	this.setFlyBehavior(new FlyWithWigns());
	this.setQuackBehavior(new QuackQuack());
    }

    /* (non-Javadoc)
     * @see com.duck.base.Duck#display()
     */
    @Override
    public void display() {
	System.out.println(" I'm a Millar Duck");
    }

}
